package me.yuxiaoyao.util.treeify;

import java.util.List;

/**
 * @author kerryzhang on 2020/10/30
 */

public class TreeDepthItem implements ITreeDepthChildren<TreeDepthItem> {

    public TreeDepthItem() {
        //必须有空构造方法
    }

    private List<TreeDepthItem> children;
    private Integer treeDepth;

    @Override
    public List<TreeDepthItem> getChildren() {
        return children;
    }

    @Override
    public void setChildren(List<TreeDepthItem> children) {
        this.children = children;
    }

    @Override
    public void setTreeDepth(int treeDepth) {
        this.treeDepth = treeDepth;
    }

    @Override
    public Integer getTreeDepth() {
        return treeDepth;
    }


    private Integer id;
    private String name;
    private String url;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


}
